package com.winning.joiner.magiccube.common.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

 
@Component
@Scope("singleton")
 public class AppConfig {
	
	/** 项目名称 */
	@Value("${app.name}")
    private String name;
    /** 版本 */
	@Value("${app.version}")
    private String version;
    /** 版权年份 */
	@Value("${app.copyrightYear}")
    private String copyrightYear;
    /** 上传路径 */
	@Value("${app.profile}")
    private static  String profile;

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getVersion()
    {
        return version;
    }

    public void setVersion(String version)
    {
        this.version = version;
    }

    public String getCopyrightYear()
    {
        return copyrightYear;
    }
    
    


	public void setCopyrightYear(String copyrightYear)
    {
        this.copyrightYear = copyrightYear;
    }

    public static String getProfile()
    {
        return profile;
    }

    public static void setProfile(String _profile)
    {
        profile = _profile;
    }

	

}
